var __type = 'book';
// var __ver = '0.0.1';

function ServerBook() {
	if (this instanceof ServerBook) {
		this.type = __type;
		return this;
	}
	return new ServerBook();
}
module.exports = ServerBook;

function handle(arg, cb) {
	// do sth with arg
	// console.log('book handle request', JSON.stringify(arg));
	// var result = 'book';
	cb(__type);
}


var App = require('./App.js');
App(__type, handle, function(err) {
	if (err) console.log(err);
	else console.log('%s ok', __type);
});